// File: DowncodedBresenham.java
// Purpose: This serves as an interafce to a downcoded to C version
//          of the B line drawing function

import java.awt.image.*;

public class DowncodedBresenham implements LineDrawer {
	
	static {
		try {
			System.loadLibrary("bresenham");	
		} catch (Exception e) {
			e.printStackTrace();
		}	
	}
	public native void drawLine(BufferedImage i,int x0, int y0, int x1, int y1);
}